Conversation
bin/shutter
Outdated
| ); | ||
| } | ||
|
|
||
| our $dark_icons = 1; |
There was a problem hiding this comment.
| our $dark_icons = 1; | |
| my $dark_icons = 1; |
There was a problem hiding this comment.
It spit errors with "my":
Global symbol "$dark_icons" requires explicit package name (did you forget to declare "my $dark_icons"?) at ./bin/shutter line 6020.
Execution of ./bin/shutter aborted due to compilation errors.
at ./bin/shutter line 11118.
But the variable needs to be defined elsewhere anyway, I just put it there for a quick test.
There was a problem hiding this comment.
Never mind, the reason for the error was elsewhere, "my" also works. I will change it while putting the variable to a more sensible place.
|
I added the radio buttons. For now the "auto" option is dysfunctional. The icons are set at Drawing Tool launch. |
|
The automatic detection seems to work really well! But I think that the menu option is still necessary for cases when it fails. Now I wonder what is the fastest way to create a lot of symlinks. The contents of |
|
A for loop in zsh? :) Or reading the icon could check one dir first, and if file doesn't exist read the other dir |
|
Rather than passing 3 new bool parameters, let's pass only 1, then do the coloring depending on the value passed there |
|
Okay, should be fine now, please have a look! |
Sorry, missed this one. I will have a look into it. |
|
Better this way? |
For the moment there is just a fixed variable
$dark_iconswhich controls which custom icon set is used. To do: